<?php
//+---------------------------------------------------------------------------------------------------------------------
//| 人生是荒芜的旅行，冷暖自知，苦乐在心
//+---------------------------------------------------------------------------------------------------------------------
//| Author:Janmas <janmas@126.com>
//+---------------------------------------------------------------------------------------------------------------------
//| 
//+---------------------------------------------------------------------------------------------------------------------


namespace app\plugins\goods;


class Plugin extends \app\common\plugins\Plugin
{

	/**
	 * @inheritDoc
	 */
	public function getName()
	{
		return '商品管理';
	}

	/**
	 * @inheritDoc
	 */
	public function getFlag()
	{
		return 'goods';
	}

	public function getHomeAction()
    {
        return plugin_url('/plugins/'.$this->getFlag().'/admin/index/control');
    }
}